# String

# 字符串替换,类似于java的MessageFormat
template = "我叫%s, 就职于%s %d年"
render = template % ("高文","PRNASIA", 2)
print(render)

# 转大写
headline = "hello py"
content = "this is content"
print(headline.capitalize())
print(headline.center(15, 'S'))
